package com.community.dao;

import com.community.pojo.AnswerPayRecord;
import org.apache.ibatis.annotations.Param;

public interface AnswerPayRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AnswerPayRecord record);

    int insertSelective(AnswerPayRecord record);

    AnswerPayRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AnswerPayRecord record);

    int updateByPrimaryKey(AnswerPayRecord record);

    int countByUserNameAndAnswerId(@Param(value = "userName") String userName,
                                   @Param(value = "answerId") Integer answerId);
}